package cn.wen233.srpc.basic.filter;

import cn.wen233.srpc.basic.model.Request;

/**
 * 服务端过滤器链
 *
 * @author wenei
 * @date 2021-12-25 22:57
 */
public interface ServerFilter {

    /**
     * 是否拦截
     * @param request 请求
     * @return 是否拦截
     */
    boolean filter(Request request);
}
